<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1 {
	width: 195px;
}
.hn_iuput_kuang100{ border:1px solid #a1c0dc; height:24px; line-height:24px; width:130px;padding-right: 3px}
.select_width {
	width: 130px;
}
</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />

<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo" cellspacing="1">
	<tr>
		<td colspan="4" class="t_bar2">基本信息</td>

	</tr>
	<tr>
		<td align="right"><span class="color_red" width="230px;">*</span>项目名称：</td>
		<td colspan="3"><input id="zh_title" name="proposal/zh_title"
			label="项目名称" type="text" required
			class="input_css required maxlength:100" style="width: 585px;"
			maxlength="100"
			value="<x:out select="$xmlData/data/proposal/zh_title" />" /></td>
	</tr>
	
	<tr>
		<td   align="right" ><span class="color_red">*</span>并购形式：</td>
		<td colspan="3">
		 <label><input type="radio" name="maform"   style="vertical-align: middle;"  class="do" value="1" label="股权并购 "  onclick="changeArea(this.value);"><span style="vertical-align: middle;">股权并购</span></label>
		 <label><input type="radio" name="maform"  style="vertical-align: middle;"  class="do" value="2" label="资产并购" onclick="changeArea(this.value);"><span style="vertical-align: middle;">资产并购</span></label>
		 <label><input type="radio" name="maform"  style="vertical-align: middle;"  class="do" value="3" label="其他" onclick="changeArea(this.value);"><span style="vertical-align: middle;">其他</span></label>
		 <input type="text" style="display: none" id="maform_sel" name="proposal/maform_sel" maxlength="50"  label="并购形式-->其他" value="<x:out select="$xmlData/data/proposal/maform_sel" />">
		<input type="hidden" id='maform_value' name="proposal/maform_value" class="required"  label="并购形式"  value="<x:out select="$xmlData/data/proposal/maform_value" />">	
		<input type="hidden" name="proposal/maform_name" id="maform_name" value="<x:out select="$xmlData/data/proposal/maform_name" />">	
		</td>
	</tr>
	<tr>

		<td align="right"><span class="color_red">*</span>并购投资金额（万元）：</td>
		<td ><input name="proposal/fund/ma_ivestment_amt"  id="ma_ivestment_amt"   type="text" 
			class="input_css required" style="text-align: right" label="并购投资金额"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/fund/ma_ivestment_amt" />" /></td>
		<td align="right"><span class="color_red">*</span>所占股（%）：</td>
		<td>
		<input name="proposal/fund/ma_ivestment_amt_pre"  id="ma_ivestment_amt_pre"   type="text" 
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,2,2)" label="所占股"
			value="<x:out select="$xmlData/data/proposal/fund/ma_ivestment_amt_pre" />" /></td>
	</tr>
	
	<tr>
		<td align="right" ><span class="color_red">*</span>并购合同（协议、意向）签署日期：</td>
		<td><c:set var="ma_ctr_date"><x:out select="$xmlData/data/proposal/ma_ctr_date" /></c:set> 
			<cpt:date id="ma_ctr_date" name="proposal/ma_ctr_date"
				value="${ma_ctr_date}" className=" required date" label="并购合同（协议、意向）签署日期"></cpt:date>
		</td>
		<td align="right" ><span class="color_red">*</span>约定付款完成日期：</td>
		<td><c:set var="promise_pay_date"><x:out select="$xmlData/data/proposal/promise_pay_date" /></c:set> 
			<cpt:date id="promise_pay_date" name="proposal/promise_pay_date"
				value="${promise_pay_date}" className=" required date" label="约定付款完成日期"></cpt:date>
		</td>
	</tr>
	<tr>
		<td align="right" ><span class="color_red">*</span>约定产权交割日期：</td>
		<td><c:set var="property_delivery_date"><x:out select="$xmlData/data/proposal/property_delivery_date" /></c:set> 
			<cpt:date id="property_delivery_date" name="proposal/property_delivery_date"
				value="${property_delivery_date}" className=" required date" label="约定产权交割日期"></cpt:date>
		</td>
		<td align="right" ><span class="color_red">*</span>工商变更完成日期：</td>
		<td><c:set var="change_bus_date"><x:out select="$xmlData/data/proposal/change_bus_date" /></c:set> 
			<cpt:date id="hold_date" name="proposal/change_bus_date"
				value="${change_bus_date}" className=" required date" label="工商变更完成日期"></cpt:date>
		</td>
	</tr>
	<tr>
		<td align="right" ><span class="color_red">*</span>申报日期：</td>
		<td colspan="3"><c:set var="submit_date">
				<x:out select="$xmlData/data/proposal/submit_date" />
			</c:set> <cpt:date id="submit_date" name="proposal/submit_date"
				value="${submit_date}" className=" required date" label="申报日期"></cpt:date>
		</td>

	</tr>
</table>
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo1" cellspacing="1">
	<tr>
		<td colspan="4" class="t_bar2">并购目标企业基本情况</td>

	</tr>
	<tr>
		<td align="right" rowspan="2">目标企业名称<br/>（海外企业需中英文）：</td>
		<td align="right"><span class="color_red">*</span>中文名称：</td>
		<td colspan="2"><input name="proposal/ma_company_name" label="目标企业名称"
			type="text" required class="input_css required "
			style="width: 75%;" maxlength="100"
			value="<x:out select="$xmlData/data/proposal/ma_company_name" />" /></td>
	</tr>
	<tr>
	   <td align="right">英文名称：</td>
		<td colspan="2"><input name="proposal/ma_company_enname" label="英文名称"
			type="text"  class="input_css  "
			style="width: 75%;" maxlength="100"
			value="<x:out select="$xmlData/data/proposal/ma_company_enname" />" /></td>
	</tr>
	<tr>
		<td align="right" ><span class="color_red">*</span>所在地址（国别/省份/地区）：</td>
		<td><input name="proposal/contry_province" label="所在地址" type="text"
			required class="input_css required " maxlength="100"
			value="<x:out select="$xmlData/data/proposal/contry_province" />" /></td>
		<td align="right"><span class="color_red">*</span>组织机构代码：</td>
		<td><input name="proposal/org_no1" label="组织机构代码"
			type="text" class="input_css required orgCard"
			maxlength="20"
			value="<x:out select="$xmlData/data/proposal/org_no1" />" /></td>
	</tr>
	<tr>
	<td align="right" ><span class="color_red">*</span>营业执照注册号：</td>
	<td><input name="proposal/org_licence" label="营业执照注册号" type="text"
			required class="input_css required " maxlength="100"
			value="<x:out select="$xmlData/data/proposal/org_licence" />" /></td>
	<td align="right" ><span class="color_red">*</span>税务登记号：</td>
	<td><input name="proposal/tax_local_no" label="税务登记号" type="text"
			required class="input_css required " maxlength="100"
			value="<x:out select="$xmlData/data/proposal/tax_local_no" />" /></td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>注册资本（万元）：</td>
	<td><input name="proposal/regist_fund"  id="regist_fund"   type="text"  label="注册资本"
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/regist_fund" />" /></td>
	<td align="right"><span class="color_red">*</span>注册类型：</td>
		<td width="38%" align="left" colspan="1">
		<c:set var="nature1">{'id':'<x:out select="$xmlData/data/proposal/nature1_code" />',
							  'name':'<x:out select="$xmlData/data/proposal/nature1_name" />'}</c:set> 
		<cpt:tree key="nature_type" cacheable="false" className="hn_iuput_kuang gray required"
				readonly="true" value="${nature1}" label="注册类型" id="nature1" showPattern="current" shieldPattern="0"
				topCheckbox="false" onClick="initTreeValue2" /> 
		<input id="nature1_code" type="hidden" name="proposal/nature1_code" class=""
			label="注册类型" value="<x:out select="$xmlData/data/proposal/nature1_code" />" /> 
		<input id="nature1_name" type="hidden" name="proposal/nature1_name"
			value="<x:out select="$xmlData/data/proposal/nature1_name" />" /></td>
	</tr>
	<tr >
          <td align="right"><span class="color_red">*</span>风险投资情况：</td>
          <td colspan="1" align="left">
          	<c:set var="is_risk_invest_value"><x:out select="$xmlData/data/proposal/is_risk_invest_value" /></c:set>
	        <cpt:select id="is_risk_invest" key="is_risk_invest" value="${is_risk_invest_value}" onChange="initControlValue(this.id);showOrHideInvest(this.value);" className="hn_iuput_kuang100"></cpt:select>
	        <input type="hidden" id="is_risk_invest_value" name="proposal/is_risk_invest_value" value="<x:out select="$xmlData/data/proposal/is_risk_invest_value" />" class="required" label="风险投资情况"/>
	      	<input type="hidden" name="proposal/is_risk_invest_name" value="<x:out select="$xmlData/data/proposal/is_risk_invest_name" />"/>
          <td align="right"><span id="risk_invest_label" style="display:none;"><span class="color_red">*</span>风险投资额(万元)：</span></td>
          <td colspan="1" align="left">         
            <input id="risk_invest" name="proposal/risk_invest" type="text"  class=" required" label="风险投资额" 
	       value="<x:out select="$xmlData/data/proposal/risk_invest" />" onfocus="InitInput.setNumber(this,7,4,2)" style="text-align:right;display:none;"/>
	        <%-- <span id="risk_invest_wan">&nbsp;万&nbsp;</span>
	        <c:set var="risk_invest_money_value"><x:out select="$xmlData/data/proposal/risk_invest_money_value" /></c:set>
	        <cpt:select id="risk_invest_money" key="money_type" value="${risk_invest_money_value}" onChange="initControlValue(this.id)"></cpt:select>
	        <input id="risk_invest_money_value" type="hidden" name="proposal/risk_invest_money_value" value="<x:out select="$xmlData/data/proposal/risk_invest_money_value" />" class="required" label="币种"/>
	      	<input type="hidden" name="proposal/risk_invest_money_name" value="<x:out select="$xmlData/data/proposal/risk_invest_money_name" />"/> --%>
          </td>
        </tr>
	<tr>
		<td align="right" ><span class="color_red">*</span>注册日期：</td>
		<td><c:set var="regist_date"><x:out select="$xmlData/data/proposal/regist_date" /></c:set> 
			<cpt:date id="regist_date" name="proposal/regist_date"
				value="${regist_date}" className=" required date" label="注册日期"></cpt:date>
		</td>
	 	<td align="right"><span class="color_red">*</span>行业类型：</td>
          <td colspan="1" align="left">
	          <c:set var="belong_industry">{'id':'<x:out select="$xmlData/data/proposal/belong_industry_value" />','name':'<x:out select="$xmlData/data/proposal/belong_industry_name" />'}</c:set>
          	  <cpt:tree key="belong_industry" cacheable="false" className="hn_iuput_kuang gray" readonly="true" value="${belong_industry}" label="所属国民经济行业"
          		id="belong_industry" name="industryName" showPattern="all" shieldPattern="0" onClick="initTreeValue"></cpt:tree>
	          <input type="hidden" name="proposal/belong_industry_value" value="<x:out select="$xmlData/data/proposal/belong_industry_value" />" class="required"  label="行业类型"/>
	          <input type="hidden" name="proposal/belong_industry_name" value="<x:out select="$xmlData/data/proposal/belong_industry_name" />"/>
          </td>
	</tr>
</table>

<div class="t_bar"><span class="red">*</span>并购前，目标企业股权构成情况</div>
<table  id="tblEquitysbef" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="5%">选择</th>
						<th class="TblHead" align="center"  width="5%">序号</th>
						<th class="TblHead" align="center"  width="12%">股东/出资人名称</th> 
						<th class="TblHead" align="center"  width="10%">出资额<br/>（万元）</th> 
				        <th class="TblHead" align="center"  width="15%">出资方式</th> 
						<th class="TblHead" align="center"  width="10%">出资比例(%)</th>
						<th class="TblHead" align="center"  width="13%">入股时间</th>
						<th class="TblHead" align="center"  width="8%">证件类型</th>  
						<th class="TblHead" align="center"  width="23%">证件号</th>  
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none" align="center">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selEquitysbef" >
						</td>
						<td align="center">&nbsp;
							<span name="equitybefs|equity[0]@seq_no" >[index]</span> 
						</td>
						<td>
							<input type="text" name="equitybefs|equity[0]|zhname" label="股东/出资人名称" class=" required input_text " maxlength="50" style="width:80%"/>
						</td>
						<td>
							<input type="text" name="equitybefs|equity[0]|amount" label="出资额" class=" required input_text " onfocus="InitInput.setNumber(this,7,4,2)" style="width:80%;text-align:right;"/>
						</td>
						<td>
							<input type="text" name="equitybefs|equity[0]|investment_type" label="出资方式" class=" required input_text " maxlength="50" style="width:80%"/>
						</td>
						<td>
							<input type="text" name="equitybefs|equity[0]|investment_ratio" label="出资比例" class=" required input_text " onfocus="InitInput.setNumber(this,7,2,2)" style="width:80%;text-align:right;"/>
						</td>
						<td align="center" nowrap><input  id="equity_start_date_[0]" name="equitybefs|equity[0]|start_date" label="入股时间" value="" class=" required input_text date " style="width:65px" /></td>
						<td>
							<cpt:select id="card_type[index]" key="id_type"  name="card_type" onChange="initControlValue(this.id);" value="" style="width:98%"></cpt:select>
				            <input type="hidden" name="equitybefs|equity[0]|card_type_value" class="required" label="证件类型" value=""/>
				            <input type="hidden" name="equitybefs|equity[0]|card_type_name" value=""/>
						</td>
						<td>
							<input type="text" name="equitybefs|equity[0]|card_code" label="证件号" class=" required input_text " maxlength="50" style="width:80%"/>
						</td>
						
					</tr>
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/equitybefs/equity" var="equity">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr align="center">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selEquitysbef" >
						</td>
						<td align="center">&nbsp;
							<span name="equitybefs/equity[${flag}${index}]@seq_no" ><x:out select="$equity/@seq_no"/></span> 
						</td>
						<td>
							<input type="text" name="equitybefs/equity[${flag}${index}]/zhname"  label="股东/出资人名称" style="width:80%"   class=" input_text required" value="<x:out select="$equity/zhname" />" maxlength="50"/>
						</td>
						<td>
							<input type="text" name="equitybefs/equity[${flag}${index}]/amount"  label="出资额" onfocus="InitInput.setNumber(this,7,4,2)" style="width:80%;text-align:right;"  class=" input_text required" value="<x:out select="$equity/amount" />" />
						</td>
						<td>
							<input type="text" name="equitybefs/equity[${flag}${index}]/investment_type"  label="出资方式" style="width:80%"   class=" input_text required" value="<x:out select="$equity/investment_type" />" maxlength="50"/>
						</td>
						<td>
							<input type="text" name="equitybefs/equity[${flag}${index}]/investment_ratio"  label="出资比例" onfocus="InitInput.setNumber(this,7,4,2)" style="width:80%;text-align:right;"  class=" input_text required" value="<x:out select="$equity/investment_ratio" />" />
						</td>
						<td align="center" nowrap><c:set var="start_date" scope="page"><x:out select="$equity/start_date"/></c:set>
							<input  id="equity_start_date_[${flag}${index}]" value="${start_date}" name="equitybefs/equity[${flag}${index}]/start_date" class="required date input_text" style="width:65px" label="入股时间" /> 
						<td>
							<c:set var="card_type_value"><x:out select="$equity/card_type_value" /></c:set>
							<cpt:select id="card_type${index}" key="id_type"  name="card_type" onChange="initControlValue(this.id);" value="${card_type_value }" style="width:98%"></cpt:select>
				            <input type="hidden" name="equitybefs/equity[${flag}${index}]/card_type_value" class="required" label="证件类型" value="<x:out select="$equity/card_type_value" />"/>
				            <input type="hidden" name="equitybefs/equity[${flag}${index}]/card_type_name" value="<x:out select="$equity/card_type_name" />"/>
						</td>
						<td>
							<input type="text" name="equitybefs/equity[${flag}${index}]/card_code"  label="证件号" style="width:80%"   class=" input_text required" value="<x:out select="$equity/card_code" />" maxlength="50"/>
						</td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblEquitysbef");
					</script>
				</tbody>
					</table>
					
					<table width="98%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="addNewRow('tblEquitysbef');showDateTag('tblEquitysbef');try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblEquitysbef','selEquitysbef')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblEquitysbef','selEquitysbef')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblEquitysbef','并购前，目标企业股权构成情况');">
					</td></tr>
	</table>
<div class="t_bar"><span class="red">*</span>并购后，目标企业股权构成情况</div>
<table  id="tblEquitysaft" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="5%">选择</th>
						<th class="TblHead" align="center"  width="5%">序号</th>
						<th class="TblHead" align="center"  width="12%">股东/出资人名称</th> 
						<th class="TblHead" align="center"  width="10%">出资额<br/>（万元）</th> 
				        <th class="TblHead" align="center"  width="15%">出资方式</th> 
						<th class="TblHead" align="center"  width="10%">出资比例(%)</th>
						<th class="TblHead" align="center"  width="13%">入股时间</th>
						<th class="TblHead" align="center"  width="8%">证件类型</th>  
						<th class="TblHead" align="center"  width="23%">证件号</th>  
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none" align="center">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selEquitysaft" >
						</td>
						<td align="center">&nbsp;
							<span name="equityafts|equity[0]@seq_no" >[index]</span> 
						</td>
						<td>
							<input type="text" name="equityafts|equity[0]|zhname" label="股东/出资人名称" class=" required input_text " maxlength="50" style="width:80%"/>
						</td>
						<td>
							<input type="text" name="equityafts|equity[0]|amount" label="出资额" class=" required input_text " onfocus="InitInput.setNumber(this,7,4,2)" style="width:80%;text-align:right;"/>
						</td>
						<td>
							<input type="text" name="equityafts|equity[0]|investment_type" label="出资方式" class=" required input_text " maxlength="50" style="width:80%"/>
						</td>
						<td>
							<input type="text" name="equityafts|equity[0]|investment_ratio" label="出资比例" class=" required input_text " onfocus="InitInput.setNumber(this,7,2,2)" style="width:80%;text-align:right;"/>
						</td>
						<td align="center" nowrap><input  id="equity_start_date_[0]" name="equityafts|equity[0]|start_date" label="入股时间" value="" class=" required input_text date " style="width:65px" /></td>
						<td>
							<cpt:select id="id_type[index]" key="id_type"  name="id_type" onChange="initControlValue(this.id);" value="" style="width:98%"></cpt:select>
				            <input type="hidden" name="equityafts|equity[0]|id_type_value" class="required" label="证件类型" value=""/>
				            <input type="hidden" name="equityafts|equity[0]|id_type_name" value=""/>
						</td>
						<td>
							<input type="text" name="equityafts|equity[0]|card_code" label="证件号" class=" required input_text " maxlength="50" style="width:80%"/>
						</td>
						
					</tr>
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/equityafts/equity" var="equity">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr align="center">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selEquitysaft" >
						</td>
						<td align="center">&nbsp;
							<span name="equityafts/equity[${flag}${index}]@seq_no" ><x:out select="$equity/@seq_no"/></span> 
						</td>
						<td>
							<input type="text" name="equityafts/equity[${flag}${index}]/zhname"  label="股东/出资人名称" style="width:80%"   class=" input_text required" value="<x:out select="$equity/zhname" />" maxlength="50"/>
						</td>
						<td>
							<input type="text" name="equityafts/equity[${flag}${index}]/amount"  label="出资额" onfocus="InitInput.setNumber(this,7,4,2)" style="width:80%;text-align:right;"  class=" input_text required" value="<x:out select="$equity/amount" />" />
						</td>
						<td>
							<input type="text" name="equityafts/equity[${flag}${index}]/investment_type"  label="出资方式" style="width:80%"   class=" input_text required" value="<x:out select="$equity/investment_type" />" maxlength="50"/>
						</td>
						<td>
							<input type="text" name="equityafts/equity[${flag}${index}]/investment_ratio"  label="出资比例" onfocus="InitInput.setNumber(this,7,4,2)" style="width:80%;text-align:right;"  class=" input_text required" value="<x:out select="$equity/investment_ratio" />" />
						</td>
						<td align="center" nowrap><c:set var="start_date" scope="page"><x:out select="$equity/start_date"/></c:set>
							<input  id="equity_start_date_[${flag}${index}]" value="${start_date}" name="equityafts/equity[${flag}${index}]/start_date" class="required date input_text" style="width:65px" label="入股时间" /> 
						<td>
							<c:set var="id_type_value"><x:out select="$equity/id_type_value" /></c:set>
							<cpt:select id="id_type${index}" key="id_type"  name="id_type" onChange="initControlValue(this.id);" value="${id_type_value }" style="width:98%"></cpt:select>
				            <input type="hidden" name="equityafts/equity[${flag}${index}]/id_type_value" class="required" label="证件类型" value="<x:out select="$equity/id_type_value" />"/>
				            <input type="hidden" name="equityafts/equity[${flag}${index}]/id_type_name" value="<x:out select="$equity/id_type_name" />"/>
						</td>
						<td>
							<input type="text" name="equityafts/equity[${flag}${index}]/card_code"  label="证件号" style="width:80%"   class=" input_text required" value="<x:out select="$equity/card_code" />" maxlength="50"/>
						</td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblEquitysaft");
					</script>
				</tbody>
					</table>
					
					<table width="98%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="addNewRow('tblEquitysaft');showDateTag('tblEquitysaft');try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblEquitysaft','selEquitysaft')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblEquitysaft','selEquitysaft')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblEquitysaft','并购后，目标企业股权构成情况');">
					</td></tr>
	</table>
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo2" cellspacing="1">
	<tr>
		<td colspan="6" class="t_bar2"><span class="color_red">*</span>并购目标企业近三年财务情况（单位：万元）</td>
	</tr>
	<tr align="center" >
		<th width="20%">指标</th>
		<th width="20%">${year-3 }年</th>
		<th width="20%">${year-2 }年</th>
		<th width="20%">${year-1 }年</th>
		<th width="20%">备注</th>
	</tr>
	<tr align="center" >
	   <td>年末总资产</td>
	   <td><input name="proposal/assets1"  type="text" class="input_css required" style="text-align: right" label="${year-3 }年度年末总资产" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/assets1" />" /></td>
	   <td><input name="proposal/assets2"  type="text" class="input_css required" style="text-align: right" label="${year-2 }年度年末总资产" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/assets2" />" /></td>
	   <td><input name="proposal/assets3"  type="text" class="input_css required" style="text-align: right" label="${year-1 }年度年末总资产" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/assets3" />" /></td>
	   <td><input name="proposal/assets_remark"  type="text" class="input_css required" maxlength="50" label="年末总资产备注"  value="<x:out select="$xmlData/data/proposal/assets_remark" />" /></td>
	</tr>
	<tr align="center" >
	   <td>净资产</td>
	   <td><input name="proposal/net_asset1"  type="text" class="input_css required" style="text-align: right" label="${year-3 }年度净资产" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/net_asset1" />" /></td>
	   <td><input name="proposal/net_asset2"  type="text" class="input_css required" style="text-align: right" label="${year-2 }年度净资产" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/net_asset2" />" /></td>
	   <td><input name="proposal/net_asset3"  type="text" class="input_css required" style="text-align: right" label="${year-1 }年度净资产" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/net_asset3" />" /></td>
	   <td><input name="proposal/net_asset_remark"  type="text" class="input_css required" maxlength="50" label="净资产备注" value="<x:out select="$xmlData/data/proposal/net_asset_remark" />" /></td>
	</tr>
	<tr align="center" >
	   <td>销售收入</td>
	   <td><input name="proposal/sell_income1"  type="text" class="input_css required" style="text-align: right" label="${year-3 }年度销售收入" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/sell_income1" />" /></td>
	   <td><input name="proposal/sell_income2"  type="text" class="input_css required" style="text-align: right" label="${year-2 }年度销售收入" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/sell_income2" />" /></td>
	   <td><input name="proposal/sell_income3"  type="text" class="input_css required" style="text-align: right" label="${year-1 }年度销售收入" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/sell_income3" />" /></td>
	   <td><input name="proposal/sell_income_remark"  type="text" class="input_css required" maxlength="50" label="销售收入备注" value="<x:out select="$xmlData/data/proposal/sell_income_remark" />" /></td>
	</tr>
	<tr align="center" >
	   <td>利润总额</td>
	   <td><input name="proposal/total_profit1"  type="text" class="input_css required" style="text-align: right" label="${year-3 }年度利润总额" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/total_profit1" />" /></td>
	   <td><input name="proposal/total_profit2"  type="text" class="input_css required" style="text-align: right" label="${year-2 }年度利润总额" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/total_profit2" />" /></td>
	   <td><input name="proposal/total_profit3"  type="text" class="input_css required" style="text-align: right" label="${year-1 }年度利润总额" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/total_profit3" />" /></td>
	   <td><input name="proposal/total_profit_remark"  type="text" class="input_css required" maxlength="50" label="利润总额备注" value="<x:out select="$xmlData/data/proposal/total_profit_remark" />" /></td>
	</tr>
	<tr align="center" >
	   <td>税收总额</td>
	   <td><input name="proposal/total_tax1"  type="text" class="input_css required" style="text-align: right" label="${year-3 }年度税收总额" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/total_tax1" />" /></td>
	   <td><input name="proposal/total_tax2"  type="text" class="input_css required" style="text-align: right" label="${year-2 }年度税收总额" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/total_tax2" />" /></td>
	   <td><input name="proposal/total_tax3"  type="text" class="input_css required" style="text-align: right" label="${year-1 }年度税收总额" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/total_tax3" />" /></td>
	   <td><input name="proposal/total_tax_remark"  type="text" class="input_css required" maxlength="50" label="税收总额备注" value="<x:out select="$xmlData/data/proposal/total_tax_remark" />" /></td>
	</tr>
	<tr align="center" >
	   <td>创汇总额</td>
	   <td><input name="proposal/total_exchange1"  type="text" class="input_css required" style="text-align: right" label="${year-3 }年度创汇总额" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/total_exchange1" />" /></td>
	   <td><input name="proposal/total_exchange2"  type="text" class="input_css required" style="text-align: right" label="${year-2 }年度创汇总额" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/total_exchange2" />" /></td>
	   <td><input name="proposal/total_exchange3"  type="text" class="input_css required" style="text-align: right" label="${year-1 }年度创汇总额" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/total_exchange3" />" /></td>
	   <td><input name="proposal/total_exchange_remark"  type="text" class="input_css required" maxlength="50" label="创汇总额备注" value="<x:out select="$xmlData/data/proposal/total_exchange_remark" />" /></td>
	</tr>
	<tr align="center" >
	   <td>研发投入</td>
	   <td><input name="proposal/research_input1"  type="text" class="input_css required" style="text-align: right" label="${year-3 }年度研发投入" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/research_input1" />" /></td>
	   <td><input name="proposal/research_input2"  type="text" class="input_css required" style="text-align: right" label="${year-2 }年度研发投入" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/research_input2" />" /></td>
	   <td><input name="proposal/research_input3"  type="text" class="input_css required" style="text-align: right" label="${year-1 }年度研发投入" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/research_input3" />" /></td>
	   <td><input name="proposal/research_input_remark"  type="text" class="input_css required" maxlength="50" label="研发投入备注" value="<x:out select="$xmlData/data/proposal/research_input_remark" />" /></td>
	</tr>				
</table>
<div class="t_bar"><span class="color_red">*</span>并购目标企业主要产品或服务</div>
<table  id="tblProducts" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="5%">选择</th>
						<th class="TblHead" align="center"  width="5%">序号</th>
						<th class="TblHead" align="center"  width="15%">主要产品或服务名称</th> 
				        <th class="TblHead" align="center"  width="15%">是否具有自主知识产权</th> 
						<th class="TblHead" align="center"  width="15%">产品类型</th> 
						<th class="TblHead" align="center"  width="15%">应用领域或项目</th> 
						<th class="TblHead" align="center"  width="15%">销售额（万元）</th> 
						<th class="TblHead" align="center"  width="15%">占企业总销售收入比重(%)</th> 
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name=sblProducts >
						</td>
						<td align="center">&nbsp;
							<span name="products|product[0]@seq_no" >[index]</span> 
						</td>
						<td>
							<input type="text" name="products|product[0]|name"  class=" input_text required" maxlength="50" style="width:80%" label="主要产品或服务名称"/>
						</td>
						<td>
							<!-- <input type="text" name="products|product[0]|knowledge"  maxlength="10"  style="width:80%" class=" input_text required" label="是否具有自主知识产权"/> -->
						    <cpt:select id="knowledge_[index]" name="knowledge" key="is_property_right"  onChange="initControlValue(this.id)" value="" className="hn_iuput_kuang100"></cpt:select>
				            <input type="hidden" name="products|product[0]|knowledge_value" value="" class="required" label="是否具有自主知识产权"/>
				            <input type="hidden" name="products|product[0]|knowledge_name" value=""/>
								
						</td> 
						<td>
							<input type="text" name="products|product[0]|product_type"  label="产品类型" maxlength="50"  style="width:80%" class="input_text required" />
						</td> 
						<td>
							<input type="text" name="products|product[0]|field" label="应用领域或项目"  maxlength="50"  style="width:80%" class="input_text required" />
						</td> 
						<td>
							<input type="text" name="products|product[0]|saleroom"  label="销售额" onfocus="InitInput.setNumber(this,7,4,2)" style="text-align:right;width:80%" class=" input_text required" />
						</td> 
						<td>
							<input type="text" name="products|product[0]|saleroom_pre"  label="占企业总销售收入比重" onfocus="InitInput.setNumber(this,7,2,2)" style="text-align:right;width:80%" class=" input_text required" />
						</td> 
					</tr>
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/products/product" var="product">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="sblProducts" >
						</td>
						<td align="center">&nbsp;
							<span name="products/product[${flag}${index}]@seq_no" ><x:out select="$product/@seq_no"/></span> 
						</td>
						<td>
							<input type="text" name="products/product[${flag}${index}]/name"   style="width:80%"   class=" input_text required" value="<x:out select="$product/name"/>" label="主要产品或服务名称" maxlength="50"/>
						</td>
						<td >
							<%-- <input type="text" name="products/product[${flag}${index}]/knowledge" style="width:80%"  class=" input_text required" value="<x:out select="$product/knowledge"/>" label="是否具有自主知识产权" maxlength="10"/> --%>
						    <c:set var="knowledge_value"><x:out select="$product/knowledge_value"/></c:set>
							<cpt:select id="knowledge_${index}" name="knowledge" key="is_property_right"  onChange="initControlValue(this.id)" value="${knowledge_value }" className="hn_iuput_kuang100"></cpt:select>
				            <input type="hidden" name="products/product[${flag}${index}]/knowledge_value" value="<x:out select="$product/knowledge_value"/>" class="required" label="是否具有自主知识产权"/>
				            <input type="hidden" name="products/product[${flag}${index}]/knowledge_name" value="<x:out select="$product/knowledge_name"/>"/>
						</td> 
						<td >
							<input type="text" name="products/product[${flag}${index}]/product_type" style="width:80%"  class=" input_text required" value="<x:out select="$product/product_type"/>" label="产品类型" maxlength="50"/>
						</td> 
						<td >
							<input type="text" name="products/product[${flag}${index}]/field" style="width:80%"  class=" input_text required" value="<x:out select="$product/field"/>" label="应用领域或项目" maxlength="50"/>
						</td> 
						<td >
							<input type="text" name="products/product[${flag}${index}]/saleroom"  onfocus="InitInput.setNumber(this,7,4,2)"   label="销售额" style="text-align:right;width:80%"  class=" input_text required" value="<x:out select="$product/saleroom" />"/>
						</td> 
						<td >
							<input type="text" name="products/product[${flag}${index}]/saleroom_pre"  onfocus="InitInput.setNumber(this,7,2,2)" label="占企业总销售收入比重"  style="text-align:right;width:80%"  class=" input_text required" value="<x:out select="$product/saleroom_pre" />"/>
						</td> 
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					
				</tbody>
					</table>
					<table width="98%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="addNewRow('tblProducts');try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblProducts','sblProducts')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblProducts','sblProducts')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblProducts','并购目标企业主要产品或服务');">
					</td></tr>
	</table>
<br/>
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="amtFund2" cellspacing="1">
	<tr>
		<td colspan="5" class="t_bar2">
	<span class="color_red">*</span>兼并方并购前年度
			<input id="ma_before_year" label="并购前年度" class="required input_css year" style="width: 50px;height: 17px;" name="proposal/ma_before_year" maxlength="4" value="<x:out select="$xmlData/data/proposal/ma_before_year" />">税收贡献情况（金额单位：万元）
	</td>
	</tr>
	<tr align="center" >
	            <th width="25%">合计</th>
				<th width="25%">增值税</th>
				<th width="25%">营业税</th>
				<th width="25%">企业所得税</th>
			</tr>
	<tr align="center">
		<td><input id="ma_bef_total" name="proposal/ma_bef_total" style="text-align: right;" class="gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/ma_bef_total" />"></td>
		<td><input name="proposal/bef_include_tax"  id="bef_include_tax"   type="text"  label="增值税"
			class="input_css required" style="text-align: right" onchange="setTotalTax('ma_bef_total','bef_include_tax','bef_business_tax','bef_cit')"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/bef_include_tax" />" /></td>
		<td><input name="proposal/bef_business_tax"  id="bef_business_tax"   type="text"  label="营业税"
			class="input_css required" style="text-align: right" onchange="setTotalTax('ma_bef_total','bef_include_tax','bef_business_tax','bef_cit')"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/bef_business_tax" />" /></td>
		<td><input name="proposal/bef_cit"  id="bef_cit"   type="text"  label="企业所得税"
			class="input_css required" style="text-align: right" onchange="setTotalTax('ma_bef_total','bef_include_tax','bef_business_tax','bef_cit')"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/bef_cit" />" /></td>
	</tr>
</table>
<br/>
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="amtFund3" cellspacing="1">
	<tr>
		<td colspan="5" class="t_bar2">
	<span class="color_red">*</span>兼并方并购后年度
			<input id="ma_after_year" label="并购后年度"  maxlength="4"  class="required input_css year" style="width: 50px;height: 17px;" name="proposal/ma_after_year" value="<x:out select="$xmlData/data/proposal/ma_after_year" />">税收贡献情况（金额单位：万元）
	</td>
	</tr>
	<tr align="center" >
	            <th width="25%">合计</th>
				<th width="25%">增值税</th>
				<th width="25%">营业税</th>
				<th width="25%">企业所得税</th>
			</tr>
	<tr align="center">
		<td><input id="ma_after_total" style="text-align: right;" name="proposal/ma_after_total" class="gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/ma_after_total" />"></td>
		<td><input name="proposal/after_include_tax"  id="after_include_tax"   type="text"  label="增值税"
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)" onchange="setTotalTax('ma_after_total','after_include_tax','after_business_tax','after_cit')"
			value="<x:out select="$xmlData/data/proposal/after_include_tax" />" /></td>
		<td><input name="proposal/after_business_tax"  id="after_business_tax"   type="text"  label="营业税"
			class="input_css required" style="text-align: right" onchange="setTotalTax('ma_after_total','after_include_tax','after_business_tax','after_cit')"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/after_business_tax" />" /></td>
		<td><input name="proposal/after_cit"  id="after_cit"   type="text"  label="企业所得税"
			class="input_css required" style="text-align: right" onchange="setTotalTax('ma_after_total','after_include_tax','after_business_tax','after_cit')"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/after_cit" />" /></td>
	</tr>
</table>


<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo4" cellspacing="1">

	<tr>
		<td colspan="6" class="t_bar2"><span class="color_red">*</span>申请项目资金情况（金额单位：万元）</td>

	</tr>
	<tr>
		<td align="right">项目类别：</td>
		<td><x:out select="$xmlData/data/proposal/grant_name" /></td>
		<td align="right">申请金额：</td>
		<td colspan="3"><input name="proposal/sqje" id="sqje"
			label="申请金额" type="text" 
			class="input_css  required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/sqje" />" /></td>

	</tr>

	<tr>
		<td align="right">支持方式：</td>
		<td><span name="proposal/sponsor_category"><x:out
					select="$xmlData/data/proposal/sponsor_category" /></span></td>

		<td align="right">资金级次：</td>
		<td colspan="3"><span name="proposal/fund_level">市级</span></td>
	</tr>
	<tr>
		<td align="right" >归口管理部门：</td>
		<td><span name="proposal/org_name">无锡市经济和信息化委员会</span></td>
		<td align="right">管理类别：</td>
		<td colspan="3"><span name="proposal/manage_category"><x:out
					select="$xmlData/data/proposal/manage_category" /></span></td>

	</tr>
	<tr style="display: none">
		<td></td>
	</tr>
	<tr>
		<td align="right" ><span class="color_red">*</span>项目所属产业：</td>
		<td  colspan="5"><c:set var="industry">
				<x:out select="$xmlData/data/proposal/industry_value" />
			</c:set> <cpt:checkbox key="industry" name="industry" repeatColumn="5"
				style="border: 0px; padding: 0px; margin: 0px;float:left;"></cpt:checkbox>
			<input type="hidden" id="industry_value"
			name="proposal/industry_value" class="required" value="${industry}"
			label="项目所属产业"> <input type="hidden"
			name="proposal/industry_name"
			value="<x:out select="$xmlData/data/proposal/industry_name" />">
		</td>
	</tr>
	<tr>
		<td align="right">功能分类：</td>
		<td colspan="5"><span name="proposal/grant_function"><x:out
					select="$xmlData/data/proposal/grant_function" /></span></td>

	</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1">
	<tr>
		<td class="t_bar2">申请资助依据条款</td>

	</tr>
	<tr>
		<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span
			name="proposal/policy_foundation"><x:out
					select="$xmlData/data/proposal/policy_foundation" /></span>
		</td>
	</tr>
</table>
<br/>
<table class="t_css" width="100%" border="0" cellpadding="0" id="basicInfo5"
	cellspacing="1">
	<tr>
		<td class="t_bar2" colspan="8">人员信息</td>
		
	</tr>
<tr>
		<td  align="right"><span class="color_red">*</span>项目联系人：</td>
		<td  >
			<input  name="proposal/contact_psn_cname" label="项目联系人" type="text" required class="input_css required"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_cname" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系电话：</td>
		<td  >
			<input  name="proposal/contact_psn_tel" label="联系电话" type="text" required class="input_css required"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_tel" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系手机：</td>
		<td  >
			<input  name="proposal/contact_psn_mobile" label="联系手机" type="text" required maxlength="11" required class="input_css required mobile"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_mobile" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>电子邮箱：</td>
		<td  >
			<input  name="proposal/contact_psn_email" label="电子邮箱" type="text" required class="input_css required email"   maxlength="50" value="<x:out select="$xmlData/data/proposal/contact_psn_email" />"/> 
		</td>
	</tr>
	
	<tr>
		<td  align="right">项目负责人：</td>
		<td>
			<input  name="proposal/fzr_psncode" type="hidden" required class="input_css "   maxlength="20" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/psn_code" />"/> 
		    
		    <span name="proposal/fzr_psnname" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name" /></span>
		    <c:set var="psnCode"><x:out select="$xmlData/data/proposal/psn_code" /></c:set>
		    <security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
				<span id="personSelect">
				<input type="button" class="button_02" style="height: 25px; padding: 1px;" id="selectPsn" value="设置">
				<cpt:personSelect key="personSelect"  addRole="3"  psnCode="${psnCode}" callback="selectPsnCall" bindEvent="click" bindObject="selectPsn" title="设置项目负责人" fltFile="personSelector.ftl"></cpt:personSelect>
				</span>
			</security:authorize>
		</td>
		<security:authorize ifNotGranted="A_DAILU_PROPOSAL"> 
		<td  align="right">联系电话：</td>
		<td  >
		<span name="proposal/fzr_tel"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" /></span>
		</td>
		<td  align="right">联系手机：</td>
		<td  >
		<span name="proposal/fzr_mobile"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" /></span>
		</td>
		</security:authorize>
		<security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
		<td  align="right"><span class="color_red">*</span>联系电话：</td>
		<td  >
		<input name="proposal/fzr_tel" label="项目负责人联系电话" type="text" required  class="input_css required"  onchange="synFzrMsg(1)"  maxlength="50"  value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" />"/>
		</td>
		<td  align="right"><span class="color_red">*</span>联系手机：</td>
		<td  >
		<input name="proposal/fzr_mobile" label="项目负责人联系手机" type="text" onchange="synFzrMsg(1)" onfocus="InitInput.setNumber(this,11,0,0)"  maxlength="11"  class="input_css required mobile"   value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" />"/>
		</td>
		</security:authorize>
		<td  align="right">电子邮箱：</td>
		<td  >
		<span name="proposal/fzr_mail"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email" /></span>
		</td>
	</tr>
</table>

<script type="text/javascript">
$(function(){
	showOrHideInvest($("#is_risk_invest_value").val());
	changeArea($("#maform_value").val());
});
function changeArea(val) {

	var classAttr = "input_css";
	if(val == '3') {
		$("#maform_sel").show();
		$("#maform_sel").attr("class", classAttr+" required");
	} else {
		$("#maform_sel").hide();
		$("#maform_sel").attr("class", classAttr);
	}
}

function setTotalTax(id1,id2,id3,id4) {
	var  total2 = $("#"+id2).val();
	var  total3 = $("#"+id3).val();
	var  total4 = $("#"+id4).val();
	
	if (!$.isNumeric(total2))  total2 = "0";
	   if (!$.isNumeric(total3)) total3 = "0";
	   if (!$.isNumeric(total4)) total4 = "0";
	
	var total1 = ((parseFloat(total2)*10000 + parseFloat(total3)*10000 + parseFloat(total4)*10000)/10000).toFixed(4);
	var count = formatNumberAuto(total1.toString(), 9, 4, 2);// 格式化金额
	$("#"+id1).val(count);
}
/**
* 选择树设置隐藏域值 public.js中原函数不适用
*/
function initTreeValue(treeId, treeNode) {
    if(treeId == 'belong_industry'){
    	if(treeNode.level < 2){
    		scmWarn($("#" + treeId).attr("label")
    				+ "不能选择第一、二级，请选择它的子级！");
    		return false;
    	}
    }


	//if (!(treeNode && treeNode.level > 0)) {
	if (!(treeNode && (treeNode.level > 0 || !treeNode.isParent))) {
		scmWarn($("#" + treeId).attr("label")
				+ messageTip.researchAreaInvalidDisciplineCode);
		if (treeNode.level == 0) {
			$("#" + treeId).val("");
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId+ "_code']").val("");
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId+ "_value']").val("");
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId+ "_name']").val("");
		}
		return false;
		}
		var str = treeNode.name;
		var obj = treeNode.parentNode;
		while (obj != null) {
			//str = obj.name + "-" + str;
			obj = obj.parentNode;
		}
		$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val(treeNode.id);
		$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId + "_value']").val(treeNode.id);
		$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val(str);

		
	
	}
	
 function showOrHideInvest(isRiskInvest){
	//var isRiskInvest = $("#is_risk_invest").val();
	if(isRiskInvest == "01"){
		$("#risk_invest_label").show();
		$("#risk_invest").show();
		/* $("#risk_invest_money").show();
		$("#risk_invest_wan").show(); */
		$("#risk_invest").addClass("required");
		/* $("#risk_invest_money_value").addClass("required"); */
	}else{
		$("#risk_invest_label").hide();
		$("#risk_invest").hide();
		/* $("#risk_invest_money").hide();
		$("#risk_invest_wan").hide(); */
		$("#risk_invest").val("");
		/* $("#risk_invest_money").val(""); */
		$("#risk_invest").removeClass("required");
		/* $("#risk_invest_money_value").removeClass("required"); */
	}
} 
</script>


